package com.pair.micro.common.request;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
//@ApiModel(value = "MicroRequest", description = "公共请求入参结构")
public class MicroRequest extends MicroCommonModel {

  // @ApiModelProperty(value = "每页记录数(最小1，最大5000)", example = "10")
  private Long pageSize;

  // @ApiModelProperty(value = "当前页数", example = "1")
  private Long pageNo;

  //// @ApiModelProperty(value = "每页记录数(最小1，最大5000)", example = "10")
  //private Long limit;
  //
  //// @ApiModelProperty(value = "当前页数", example = "1")
  //private Long offset;

  // @ApiModelProperty(value = "分页时间戳(由服务端返回，offset=1时为空，offset>1时非空)", example = "1562901516129")
  private Long pTs;

  // @ApiModelProperty(value = "开始时间", example = "2019-07-12 12:00:00")
  private String beginTimeFormat;

  // @ApiModelProperty(value = "结束时间", example = "2019-07-12 12:00:00")
  private String endTimeFormat;

  // @ApiModelProperty(value = "删除类型", example = "0")
  private Integer removeOpt;

  // @ApiModelProperty(value = "查询类型", example = "0")
  private Integer queryOpt;

  // @ApiModelProperty(value = "编辑类型", example = "0")
  private Integer editOpt;

  // @ApiModelProperty(value = "新增类型", example = "0")
  private Integer addOpt;

  // @ApiModelProperty(value = "搜索类型", example = "1")
  private Integer searchType;

  // @ApiModelProperty(value = "搜索内容", example = "最热")
  private String search;
}
